import request from '@/utils/request'

export function agencyPersonList(params) {
    return request({
        url: '/ids/agencyPerson/agencyPersonList',
        headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        'page-num': params.pageNum,
        'page-size': params.pageSize
        },
        method: 'post',
        params:params
    })
}
export function freePerson(data) {
    return request({
      url: '/ids/agencyPerson/freePerson/'+data,
      headers: {
        'Content-Type': 'application/json;charset=UTF-8'
      },
      method: 'get',
      // data
    })
}
export function findPersonInfo(data) {
    return request({
      url: '/ids/agencyPerson/findPersonInfo/'+data,
      headers: {
        'Content-Type': 'application/json;charset=UTF-8'
      },
      method: 'get',
     // data:data
    })
}
